﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace lcs.Web.instore
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int iid=(Convert.ToInt32(strid));
					ShowInfo(iid);
				}
			}
		}
		
	private void ShowInfo(int iid)
	{
		lcs.BLL.instore bll=new lcs.BLL.instore();
		lcs.Model.instore model=bll.GetModel(iid);
		this.lbliid.Text=model.iid.ToString();
		this.lblmid.Text=model.mid.ToString();
		this.lblspid.Text=model.spid.ToString();
		this.lbluid.Text=model.uid.ToString();
		this.lblintime.Text=model.intime.ToString();
		this.lblinnum.Text=model.innum.ToString();

	}


    }
}
